home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / arrl / tis / ftp.txt < prev    next >
Text File  |  1994-11-27  |  6KB  |  125 lines

  1.  
  2.  
  3. Subject: UNIX HOSTS
  4.  
  5. Most of the systems available on the Internet are running the unix
  6. operating system.  While you don't have to learn unix in order to use FTP,
  7. you will have to deal with unix file names and directories.  These are
  8. handled a little differently than DOS file names and directories.  The
  9. major differences between unix and DOS files are:
  10.  
  11. 1)   unix file names can be much longer than DOS file names.  This is
  12.      particularly important when getting a file from the unix host.  If the
  13.      file name is longer than eight characters before the first period in
  14.      the name (if there *is* a period), or longer than three characters
  15.      after the period, the name will be truncated to a DOS file name.
  16.  
  17. 2)   unix file names are case sensitive.  That is, "README" is a different
  18.      file name from "readme" or "Readme".  It's important to type the file
  19.      name in exactly."
  20.  
  21. Note that the "*" character is a wildcard in unix, just as in DOS.  For
  22. example, the command:
  23.  
  24. dir wp*
  25.  
  26. will return a list of all of the files with names beginning with "wp" in
  27. the current directory of the remote computer.
  28.  
  29. Fortunately, the basic unix directory structure is much like that of DOS. 
  30. Directories may have subdirectories, which may have subdirectories... just
  31. like DOS.  Of course, unix directory names follow the same rules as unix
  32. file names.  In addition, there is one important difference between unix
  33. directory specifications and those of DOS:  unix directories are separated
  34. by "/" rather than "\" characters.  For example:
  35.  
  36. /pub/hamradio/filename
  37.  
  38. is a legal unix file specification, while:
  39.  
  40. \pub\hamradio\filename
  41.  
  42. is *not* legal in unix.
  43.  
  44. When you get a list of files from a unix host, it looks like this:
  45.  
  46. drwxr-xr-x  2 root     1             240 Dec 21 08:09 ArchieSeeThis
  47. -rw-r--r--  1 98       1             371 Sep 11  1991 NOTICE
  48. -rw-r--r--  1 98       ftp           496 Sep  4  1991 README
  49. drwxr-xr-x  2 root     1              80 Apr 30 20:08 bin
  50. drwxr-xr-x  2 root     ftp           112 Apr 30 20:06 bin_mc
  51. drwxr-xr-x  2 root     1              48 Apr 30 20:14 dev
  52. drwxr-xr-x  2 root     1              64 Apr 30 20:07 etc
  53. drwxr-xr-x  2 root     ftp            64 Apr 30 20:06 etc_mc
  54. lrwxrwxrwx  1 root     1               9 Feb 28  1991 in -> incomming
  55. drwxrwxrwx  3 98       ftp           576 Apr 30 20:05 incomming
  56. drwxr-xr-x 13 98       ftp           256 Mar 13 04:09 pub
  57. drwxr-xr-x  3 root     1              48 Apr 30 20:12 usr
  58.  
  59. The leftmost character on the line is interpreted as follows:
  60.  
  61. d = directory (the entry is a subdirectory)
  62. - = file (the entry is a file)
  63. l = link (the entry points to another entry)
  64.  
  65. In the above example, the only files in the listing are "NOTICE" and
  66. "README".  Everything else is a directory, except for "in" which points to
  67. "incoming".  (Thus, for example, the command "cd in" would be exactly
  68. equivalent to "cd incoming".)
  69.  
  70. The size, date/time and file name are at the right of each line.
  71.  
  72. Most unix systems keep their public files in a directory called "/pub" as
  73. shown above.
  74.  
  75. One other difference between DOS and unix (and most other systems) is in
  76. the way they store text files.  Because of this, FTP provides a mechanism
  77. to specify that a text file is being transferred.  But *you* have to
  78. specify.  We haven't used this mechanism on the LAN because all of the
  79. machines on the LAN are DOS machines.  But if you are retrieving a text
  80. file from a remote Internet host, it's a very good idea to issue the
  81. "type a" command first to make the transfer in "ASCII" (text) mode.
  82.  
  83. A FEW GOOD HOSTS
  84.  
  85. There are literally thousands of computers connected to the Internet.  Of
  86. them, most have nothing of interest to the casual browser.  But there are a
  87. few that have much to offer.  Among them:
  88.  
  89. simtel20.army.mil        Repository of thousands of public-domain and
  90.                          shareware software files.  Of most interest are
  91.                          those files in the MSDOS area.  This machine uses
  92.                          an unusual operating system that does not have the
  93.                          usual directory structure.  Get and read the ASCII
  94.                          files, 00-README.TXT and HOW-TO-CD.DOC first.
  95.  
  96. wuarchive.wustl.edu      A unix system that mirrors the archives of other
  97.                          systems.  In particular, it contains most of
  98.                          what's available on simtel20.  Try the directory,
  99.                          /mirrors/msdos, which has *lots* of subdirectories
  100.                          containing over 7000 files.  Each directory
  101.                          contains a file called "00-index.txt" that
  102.                          describes the files contained in that directory.
  103.  
  104. ftp.cs.buffalo.edu       The "standard" ham-radio archive host.  Look in
  105.                          the /pub/ham-radio directory for the files.
  106.  
  107. oak.oakland.edu          Yet another good ham radio archive site.  Many 
  108.                          subdirectories, including an FTP area of the 
  109.                          ARRL's Automated Information Server Files - 
  110.                          /pub/hamradio/arrl/infoserver.
  111.  
  112. ucsd.edu                 Where a lot of the ham radio "techies" hang out,
  113.                          including the TCP/IP developers.  See the
  114.                          /hamradio directory.
  115.  
  116. The members and HQ staff would like to thank the following people for
  117. their contributions to this information file:
  118.  
  119. KE3Z
  120.  
  121. Send any additional information or changes to mtracy@arrl.org. 
  122.  
  123. 73 from ARRL HQ.
  124.  
  125.